package com.gxa.j259.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class MyController {

        @RequestMapping("/hello01")
        @ResponseBody
        public String hello01(){

            return "hello spring mvc 01 方瑞";
    }
    @RequestMapping("/hello02")
    @ResponseBody
    public String hello02(){

        return "hello spring mvc 02";
    }


    }


